#define _CRT_SECURE_NO_WARNINGS 1
int maximumWealth(int** accounts, int accountsSize, int* accountsColSize) {
    int max = 0;
    for (int i = 0; i < accountsSize; i++)
    {
        int total = 0;
        for (int j = 0; j < *accountsColSize; j++)
        {
            total += accounts[i][j];
        }
        if (max < total)
        {
            max = total;
        }
    }
    return max;
}